beginscendatascript;

//tweak secret doors
begindefineterrain 511;
	import = 18;
begindefineterrain 18;
	te_draw_on_automap = 0;
	te_special_property = 8;
	te_special_strength = 40;

begindefineterrain 511;
	import = 19;
begindefineterrain 19;
	te_draw_on_automap = 0;
	te_special_property = 8;
	te_special_strength = 40;
	
begindefineterrain 511;
	import = 20;
begindefineterrain 20;
	te_draw_on_automap = 0;
	te_special_property = 8;
	te_special_strength = 40;
	
begindefineterrain 511;
	import = 21;
begindefineterrain 21;
	te_draw_on_automap = 0;
	te_special_property = 8;
	te_special_strength = 40;
//end of secret doors

//traps
begindefinefloor 132;
	import = 4; //(100)
	fl_special_property = 8;
	fl_special_strength = 45;
	
begindefinefloor 133;
	fl_special_strength = 46;
	
begindefinefloor 134;
	fl_special_strength = 47;
	
begindefinefloor 135;
	fl_special_strength = 48;
//end of traps

begindefineterrain 511;
	import = 284;
begindefineterrain 284;
	te_draw_on_automap = 1;

begindefineterrain 407;
	import = 0;
	te_full_look_block = 1;
	te_move_block_e = 0;
	te_move_block_n = 0;
	te_move_block_s = 0;
	te_move_block_w = 0;
	te_full_move_block = 0;

//Walls
begindefineterrain 421; //N___
	import = 2;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 422; //_E__
	import = 5;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 423; //NE__
	import = 9;
	te_which_icon = 0;
	te_icon_offset_x = 18;
	te_icon_offset_y = -12;
	te_second_icon = 1;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 424; //__S_
	import = 4;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 425; //N_S_
	import = 259; //temp
	te_which_sheet = 603;
	te_which_icon = 18;
	te_icon_offset_x = 18;
	te_icon_offset_y = -12;
	te_second_icon = 0;
	te_move_block_n = 1;
	te_look_block_n = 1;
	te_move_block_s = 1;
	te_look_block_s = 1;
	te_cutaway_which_sheet = 603;
	te_cutaway_which_icon = 2;
	te_cutaway_second_icon = 18;
	te_draw_on_automap = 1;
	te_full_look_block = 1;
	//needs custom cutaway

begindefineterrain 426; //_ES_
	import = 8;
	te_which_sheet = 603;
	te_which_icon = 0;
	te_second_icon = 1;
	te_cutaway_which_sheet = 603;
	te_cutaway_which_icon = 2;
	te_cutaway_second_icon = 7;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 427; //NES_
	import = 226; //temp
	te_which_sheet = 603;
	te_which_icon = 0;
	te_icon_offset_x = 18;
	te_icon_offset_y = -12;
	te_second_icon = 4;
	te_move_block_n = 1;
	te_look_block_n = 1;
	te_move_block_e = 1;
	te_look_block_e = 1;
	te_move_block_s = 1;
	te_look_block_s = 1;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 428; //___W
	import = 3;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 429; //N__W
	import = 6;
	te_icon_offset_y = -11;
	te_draw_on_automap = 1;
	te_full_look_block = 1;
	//needs custom cutaway icon

begindefineterrain 430; //_E_W
	import = 260; //temp
	te_which_sheet = 603;
	te_which_icon = 18;
	te_icon_offset_x = -18;
	te_icon_offset_y = -12;
	te_second_icon = 1;
	te_move_block_e = 1;
	te_look_block_e = 1;
	te_move_block_w = 1;
	te_look_block_w = 1;
	te_cutaway_which_sheet = 603;
	te_cutaway_which_icon = 3;
	te_cutaway_second_icon = 18;
	te_draw_on_automap = 1;
	te_full_look_block = 1;
	//needs custom cutaway

begindefineterrain 431; //NE_W
	//import = 227; //temp
	import = 6;
	te_which_sheet = 603;
	te_icon_offset_y = -10;
	te_second_icon = 1;
	te_move_block_n = 1;
	te_look_block_n = 1;
	te_move_block_e = 1;
	te_look_block_e = 1;
	te_move_block_w = 1;
	te_look_block_w = 1;
	te_draw_on_automap = 1;
	te_full_look_block = 1;
	//needs custom cutaway

begindefineterrain 432; //__SW
	import = 7;
	te_full_look_block = 1;

begindefineterrain 433; //N_SW
	//import = 228; //temp
	import = 6;
	te_which_sheet = 603;
	te_icon_offset_y = -10;
	te_second_icon = 0;
	te_move_block_n = 1;
	te_look_block_n = 1;
	te_move_block_w = 1;
	te_look_block_w = 1;
	te_move_block_s = 1;
	te_look_block_s = 1;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 434; //_ESW
	//import = 225; //temp
	import = 428;
	te_which_sheet = 603;
	te_cutaway_which_sheet = 603;
	te_second_icon = 4;
	te_cutaway_second_icon = 18;
	te_move_block_w = 1;
	te_look_block_w = 1;
	te_move_block_e = 1;
	te_look_block_e = 1;
	te_move_block_s = 1;
	te_look_block_s = 1;
	te_draw_on_automap = 1;
	te_full_look_block = 1;

begindefineterrain 435; //NESW
	//import = 355; //temp
	import = 431;
	te_which_sheet = 603;
	te_which_icon = 5;
	te_icon_offset_y = -10;
	te_second_icon = 4;
	te_move_block_n = 1;
	te_look_block_n = 1;
	te_move_block_e = 1;
	te_look_block_e = 1;
	te_move_block_s = 1;
	te_look_block_s = 1;
	te_move_block_w = 1;
	te_look_block_w = 1;
	te_draw_on_automap = 1;
	//needs custom cutaway
//end of walls

//pools
begindefineterrain 436;
	import = 285;
	te_move_block_e = 0;
	te_move_block_n = 0;
	te_move_block_s = 0;
	te_move_block_w = 0;
	te_full_move_block = 0;
	te_special_property = 8;
	te_special_strength = 41;

begindefineterrain 437;
	te_special_strength = 42;
	
begindefineterrain 438;
	te_special_strength = 43;
	
begindefineterrain 439;
	te_special_strength = 44;
//end pools

//creatures:
begindefinecreature 1;
	clear;
	cr_name = "Goblin";
	cr_level = 1;
	cr_default_script = "goblin";
	cr_start_item 0 = 54;
	cr_start_item_chance 0 = 30;
	cr_start_item 1 = 130;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 132;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 19;
	cr_start_item_chance 3 = 15;
	cr_start_item 4 = 22;
	cr_start_item_chance 4 = 15;
	cr_start_item 5 = 1;
	cr_start_item_chance 5 = 20;
	cr_start_item 6 = 206;
	cr_start_item_chance 6 = 2;
	cr_start_item 7 = 220;
	cr_start_item_chance 7 = 2;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 1521;
	cr_summon_class = 1;

begindefinecreature 2;
	clear;
	cr_name = "Bat";
	cr_level = 2;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 5;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1546;
	cr_attack_1 = 4;
	cr_attack_1_type = 2;
	cr_summon_class = 0;

begindefinecreature 3;
	clear;
	cr_name = "Kobold";	
	cr_level = 2;
	cr_summon_class = 1;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 1452;
	cr_attack_1 = 6;
	cr_attack_1_type = 1;
	cr_start_item 0 = 1;
	cr_start_item_chance 0 = 15;
	cr_start_item 1 = 130;
	cr_start_item_chance 1 = 15;

begindefinecreature 4;
	clear;
	cr_name = "Giant rat";
	cr_level = 2;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1544;
	cr_attack_1 = 4;
	cr_attack_1_type = 2;
	cr_summon_class = 0;

begindefinecreature 5;
	clear;
	cr_name = "Serpent";
	cr_level = 3;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1551;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_summon_class = 0;

begindefinecreature 6;
	clear;
	cr_name = "Skeleton";
	cr_level = 3;
	cr_start_item 0 = 452;
	cr_start_item_chance 0 = 10;
	cr_start_item 1 = 313;
	cr_start_item_chance 1 = 5;
	cr_start_item 2 = 206;
	cr_start_item_chance 2 = 3;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1535;
	cr_attack_1 = 5;
	cr_attack_1_type = 1;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_summon_class = 1;

begindefinecreature 7;
	clear;
	cr_name = "Chitrach Larva";
	cr_level = 4;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_which_sheet = 1599;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_summon_class = 1;

begindefinecreature 8;
	clear;
	cr_name = "Giant lizard";
	cr_level = 4;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1542;
	cr_attack_1 = 6;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 4 = 50;
	cr_summon_class = 2;

begindefinecreature 9;
	clear;
	cr_name = "Goblin Fighter";
	cr_level = 4;
	cr_start_item 0 = 54;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 67;
	cr_start_item_chance 1 = 20;
	cr_start_item 2 = 150;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 156;
	cr_start_item_chance 3 = 10;
	cr_start_item 4 = 60;
	cr_start_item_chance 4 = 40;
	cr_start_item 5 = 1;
	cr_start_item_chance 5 = 80;
	cr_start_item 6 = 206;
	cr_start_item_chance 6 = 3;
	cr_start_item 7 = 244;
	cr_start_item_chance 7 = 2;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 1579;
	cr_summon_class = 1;

begindefinecreature 10;
	clear;
	cr_name = "Spore Beast";
	cr_level = 4;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_which_sheet = 1545;
	cr_attack_1 = 6;
	cr_immunities 4 = 100;

begindefinecreature 11;
	clear;
	cr_name = "Shade";
	cr_level = 5;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1538;
	cr_icon_adjust = 0;
	cr_attack_1 = 6;
	cr_attack_1_type = 1;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_start_item 0  = 377;
	cr_start_item_chance 0 = 100;

begindefinecreature 12;
	clear;
	cr_name = "Cave slime";
	cr_level = 5;
	cr_hp_bonus = 5;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_which_sheet = 1541;
	cr_attack_1 = 7;
	cr_attack_2 = 7;
	cr_attack_1_type = 3;
	cr_attack_23_type = 3;
	cr_immunities 1 = 50;
	cr_immunities 4 = 100;
	cr_summon_class = 2;
	cr_special_abil = 12;

begindefinecreature 13;
	clear;
	cr_name = "Giant spider";
	cr_level = 5;
	cr_hp_bonus = 5;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_which_sheet = 1556;
	cr_attack_1 = 6;
	cr_summon_class = 2;
	cr_special_abil = 5;

begindefinecreature 14;
	clear;
	cr_name = "Cockroach";
	cr_level = 6;
	cr_hp_bonus = 6;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_which_sheet = 1636;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_immunities 0 = 50;
	cr_immunities 1 = 50;
	cr_immunities 4 = 50;
	cr_special_abil = 6;

begindefinecreature 15;
	clear;
	cr_name = "Hordling";
	cr_level = 6;
	cr_what_stat_adjust 0 = 2;
	cr_amount_stat_adjust 0 = 4;
	cr_hp_bonus = 25;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_which_sheet = 1548;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_23_type = 1;
	cr_immunities 0 = 100;
	cr_immunities 2 = 50;
	cr_immunities 3 = 100;
	cr_immunities 4 = 50;
	cr_summon_class = 3;
	cr_special_abil = 30;
	cr_start_item 0 = 316;
	cr_start_item_chance 0 = 100;

begindefinecreature 16;
	clear;
	cr_name = "Spirit";
	cr_level = 6;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 25;
	cr_amount_stat_adjust 1 = 10;
	cr_hp_bonus = 15;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_natural_armor = 9;
	cr_which_sheet = 1538;
	cr_attack_1 = 6;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_default_strategy = 1;

begindefinecreature 17;
	clear;
	cr_name = "Vapor rat";
	cr_level = 6;
	cr_hp_bonus = 2;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1544;
	cr_icon_adjust = 20;
	cr_attack_1 = 5;
	cr_attack_1_type = 2;
	cr_summon_class = 2;
	cr_special_abil = 2;

begindefinecreature 18;
	clear;
	cr_name = "Ghost";
	cr_level = 7;
	cr_hp_bonus = 7;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_natural_armor = 8;
	cr_which_sheet = 1538;
	cr_icon_adjust = 2;
	cr_attack_1 = 7;
	cr_special_abil = 15;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;

begindefinecreature 19;
	clear;
	cr_name = "Lava bat";
	cr_level = 7;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 40;
	cr_hp_bonus = 17;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1546;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_immunities 0 = 100;
	cr_special_abil = 17;

begindefinecreature 20;
	clear;
	cr_name = "Giant Roach";
	cr_level = 7;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_which_sheet = 1637;
	cr_attack_1 = 7;
	cr_attack_1_type = 2;
	cr_immunities 0 = 50;
	cr_immunities 1 = 50;
	cr_special_abil = 6;

begindefinecreature 21;
	clear;
	cr_name = "Viscous Goo";
	cr_level = 7;
	cr_hp_bonus = 29;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_which_sheet = 1541;
	cr_attack_1 = 5;
	cr_attack_1_type = 7;
	cr_immunities 0 = 50;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 29;

begindefinecreature 22;
	clear;
	cr_name = "Asp";
	cr_level = 8;
	cr_hp_bonus = 1;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1551;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_summon_class = 2;
	cr_special_abil = 1;

begindefinecreature 23;
	clear;
	cr_name = "Fire lizard";
	cr_level = 8;
	cr_hp_bonus = 5;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1543;
	cr_attack_1 = 6;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_immunities 0 = 100;
	cr_immunities 4 = 50;
	cr_summon_class = 3;
	cr_special_abil = 17;

begindefinecreature 24;
	clear;
	cr_name = "Mung rat";
	cr_level = 8;
	cr_hp_bonus = 6;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1544;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_summon_class = 3;
	cr_special_abil = 6;

begindefinecreature 25;
	clear;
	cr_name = "Baby Hydra";
	cr_level = 9;
	cr_start_item 0 = 10;
	cr_start_item_chance 0 = 30;
	cr_start_item 1 = 10;
	cr_start_item_chance 1 = 30;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1603;
	cr_attack_1 = 4;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_attack_1_type = 2;
	cr_attack_23_type = 2;
	cr_summon_class = 3;

begindefinecreature 26;
	clear;
	cr_name = "Ogre";
	cr_level = 9;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_23_type = 4;
	cr_start_item 0 = 175;
	cr_start_item_chance 0 = 10;
	cr_start_item 1 = 82;
	cr_start_item_chance 1 = 3;
	cr_start_item 2 = 452;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 1;
	cr_start_item_chance 3 = 30;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 30;
	cr_start_item 5 = 225;
	cr_start_item_chance 5 = 4;
	cr_start_item 6 = 71;
	cr_start_item_chance 6 = 20;
	cr_start_item 7 = 82;
	cr_start_item_chance 7 = 5;
	cr_default_attitude = 4;
	cr_species = 4;
	cr_which_sheet = 1527;
	cr_summon_class = 3;

begindefinecreature 27;
	clear;
	cr_name = "Imp";
	cr_level = 9;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 5;
	cr_what_stat_adjust 2 = 12;
	cr_amount_stat_adjust 2 = 6;
	cr_hp_bonus = 20;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_natural_armor = 6;
	cr_which_sheet = 1548;
	cr_icon_adjust = 16;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_immunities 0 = 100;
	cr_immunities 1 = 50;
	cr_immunities 2 = 50;
	cr_immunities 4 = 50;
	cr_summon_class = 4;
	cr_default_strategy = 1;
	cr_start_item 0 = 317;
	cr_start_item_chance 0 = 100;

begindefinecreature 28;
	clear;
	cr_name = "Chitrach";
	cr_level = 10;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_natural_armor = 8;
	cr_which_sheet = 1598;
	cr_attack_1 = 5;
	cr_attack_2 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_summon_class = 3;

begindefinecreature 29;
	clear;
	cr_name = "Gremlin";
	cr_level = 10;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 1557;
	cr_attack_1 = 6;
	cr_attack_1_type = 8;
	cr_ap_bonus = 0;
	cr_immunities 4 = 100;
	cr_special_abil = 14;

begindefinecreature 30;
	clear;
	cr_name = "Salamander";
	cr_level = 10;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_natural_armor = 2;
	cr_which_sheet = 1543;
	cr_attack_1 = 6;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 0 = 100;
	cr_special_abil = 26;

begindefinecreature 31;
	import = 11;
	cr_name = "Greater Shade";
	cr_level = 10;
	cr_icon_adjust = 471;
	cr_start_item 0  = 378;
	cr_start_item_chance 0 = 100;

begindefinecreature 32;
	clear;
	cr_name = "Ice Lizard";
	cr_level = 11;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1585;
	cr_attack_1 = 6;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 1 = 100;
	cr_summon_class = 3;
	cr_special_abil = 18;

begindefinecreature 33;
	clear;
	cr_name = "Wyrm";
	cr_level = 11;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1551;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;

begindefinecreature 34;
	clear;
	cr_name = "Ice Slime";
	cr_level = 11;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_which_sheet = 1586;
	cr_attack_1 = 8;
	cr_attack_1_type = 5;
	cr_immunities 1 = 100;
	cr_special_abil = 27;

begindefinecreature 35;
	clear;
	cr_name = "Troglodyte Warrior";
	cr_level = 12;
	cr_what_stat_adjust 0 = 2;
	cr_amount_stat_adjust 0 = 6;
	cr_what_stat_adjust 1 = 4;
	cr_amount_stat_adjust 1 = 4;
	cr_what_stat_adjust 2 = 5;
	cr_amount_stat_adjust 2 = 4;
	cr_what_stat_adjust 3 = 6;
	cr_amount_stat_adjust 3 = 3;
	cr_what_stat_adjust 4 = 7;
	cr_amount_stat_adjust 4 = 3;
	cr_start_item 0 = 97;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 113;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 175;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 183;
	cr_start_item_chance 3 = 30;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 25;
	cr_start_item 5 = 454;
	cr_start_item_chance 5 = 80;
	cr_start_item 6 = 233;
	cr_start_item_chance 6 = 7;
	cr_start_item 7 = 409;
	cr_start_item_chance 7 = 50;
	cr_hp_bonus = 20;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 1641;

begindefinecreature 36;
	clear;
	cr_name = "Imp";
	cr_level = 9;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 5;
	cr_what_stat_adjust 2 = 12;
	cr_amount_stat_adjust 2 = 6;
	cr_hp_bonus = 20;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_natural_armor = 6;
	cr_which_sheet = 1548;
	cr_icon_adjust = 16;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_ap_bonus = 1;
	cr_immunities 0 = 100;
	cr_immunities 1 = 50;
	cr_immunities 2 = 50;
	cr_immunities 4 = 50;
	cr_summon_class = 4;
	cr_default_strategy = 1;

begindefinecreature 37;
	clear;
	cr_name = "Ursag";
	cr_level = 13;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1612;
	cr_attack_1 = 6;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_summon_class = 3;

begindefinecreature 38;
	clear;
	cr_name = "Guardian Roach";
	cr_level = 13;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_which_sheet = 1638;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_immunities 0 = 50;
	cr_immunities 1 = 50;
	cr_immunities 2 = 50;
	cr_special_abil = 6;

begindefinecreature 39;
	clear;
	cr_name = "Ruby Skeleton";
	cr_level = 14;
	cr_start_item 0 = 315;
	cr_start_item_chance 0 = 10;
	cr_start_item 1 = 315;
	cr_start_item_chance 1 = 10;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1581;
	cr_attack_1 = 6;
	cr_immunities 0 = 100;
	cr_summon_class = 4;
	cr_special_abil = 30;
	cr_default_strategy = 1;

begindefinecreature 40;
	clear;
	cr_name = "Poison fungus";
	cr_level = 14;
	cr_hp_bonus = 5;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1545;
	cr_attack_1 = 6;
	cr_attack_2 = 6;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;

begindefinecreature 41;
	clear;
	cr_name = "Hydra";
	cr_level = 15;
	cr_start_item 0 = 10;
	cr_start_item_chance 0 = 30;
	cr_start_item 1 = 10;
	cr_start_item_chance 1 = 30;
	cr_start_item 2 = 10;
	cr_start_item_chance 2 = 30;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1600;
	cr_attack_1 = 5;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 2;
	cr_summon_class = 4;

begindefinecreature 42;
	clear;
	cr_name = "Troglodyte Defender";
	cr_level = 15;
	cr_what_stat_adjust 0 = 26;
	cr_amount_stat_adjust 0 = 2;
	cr_what_stat_adjust 1 = 23;
	cr_amount_stat_adjust 1 = 2;
	cr_what_stat_adjust 2 = 22;
	cr_amount_stat_adjust 2 = 2;
	cr_start_item 0 = 97;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 120;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 186;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 58;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 3;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 272;
	cr_start_item_chance 5 = 8;
	cr_start_item 6 = 225;
	cr_start_item_chance 6 = 8;
	cr_start_item 7 = 410;
	cr_start_item_chance 7 = 80;
	cr_hp_bonus = 25;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_natural_armor = 8;
	cr_which_sheet = 1641;

begindefinecreature 43;
	clear;
	cr_name = "Ice Pudding";
	cr_level = 16;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_which_sheet = 1586;
	cr_attack_1 = 8;
	cr_attack_1_type = 8;
	cr_immunities 1 = 100;
	cr_special_abil = 27;

begindefinecreature 44;
	clear;
	cr_name = "Quickghast";
	cr_level = 16;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1537;
	cr_special_abil = 4;
	cr_attack_1 = 6;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_ap_bonus = 2;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 4 = 100;

begindefinecreature 45;
	clear;
	cr_name = "Cave Giant";
	cr_level = 15;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 3;
	cr_start_item 0 = 2;
	cr_start_item_chance 0 = 25;
	cr_start_item 1 = 71;
	cr_start_item_chance 1 = 20;
	cr_start_item 2 = 10;
	cr_start_item_chance 2 = 15;
	cr_start_item 3 = 249;
	cr_start_item_chance 3 = 2;
	cr_special_abil = 16;
	cr_default_attitude = 4;
	cr_species = 4;
	cr_which_sheet = 1613;
	cr_which_sheet_upper = 1614;
	cr_attack_1 = 7;

begindefinecreature 46;
	clear;
	cr_name = "Troglodyte Shaman";
	cr_level = 12;
	cr_what_stat_adjust 0 = 26;
	cr_amount_stat_adjust 0 = 2;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 12;
	cr_amount_stat_adjust 2 = 10;
	cr_start_item 0 = 40;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 98;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 150;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 156;
	cr_start_item_chance 3 = 10;
	cr_start_item 4 = 214;
	cr_start_item_chance 4 = 10;
	cr_start_item 5 = 215;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 283;
	cr_start_item_chance 6 = 3;
	cr_start_item 7 = 410;
	cr_start_item_chance 7 = 40;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 1642;
	cr_default_strategy = 1;

begindefinecreature 47;
	clear;
	cr_name = "Black shade";
	cr_level = 12;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 10;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 25;
	cr_amount_stat_adjust 2 = 10;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1500;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_ap_bonus = 1;
	cr_special_abil = 24;
	cr_default_strategy = 1;

begindefinecreature 48;
	clear;
	cr_name = "Spectre";
	cr_level = 18;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1582;
	cr_attack_1 = 8;
	cr_attack_1_type = 1;
	cr_ap_bonus = 0;
	cr_immunities 1 = 100;
	cr_special_abil = 23;

begindefinecreature 49;
	clear;
	cr_name = "Guardian";
	cr_level = 16;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 8;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_natural_armor = 12;
	cr_which_sheet = 1500;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_immunities 0 = 100;
	cr_special_abil = 24;

begindefinecreature 50;
	clear;
	cr_name = "Cave giant fighter";
	cr_level = 19;
	cr_what_stat_adjust 0 = 8;
	cr_amount_stat_adjust 0 = 10;
	cr_special_abil = 16;
	cr_start_item 0 = 1;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 2;
	cr_start_item_chance 1 = 50;
	cr_start_item 2 = 3;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 225;
	cr_start_item_chance 3 = 10;
	cr_start_item 4 = 222;
	cr_start_item_chance 4 = 10;
	cr_start_item 5 = 314;
	cr_start_item_chance 5 = 10;
	cr_hp_bonus = 20;
	cr_hp_bonus = 16;
	cr_default_attitude = 4;
	cr_species = 4;
	cr_which_sheet = 1613;
	cr_which_sheet_upper = 1614;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 4;
	cr_summon_class = 5;

begindefinecreature 51;
	clear;
	cr_name = "Shambler";
	cr_level = 19;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_natural_armor = 14;
	cr_which_sheet = 1545;
	cr_attack_1 = 5;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 6;
	cr_attack_23_type = 6;
	cr_immunities 1 = 100;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_summon_class = 5;

begindefinecreature 52;
	clear;
	cr_name = "Foul Rat";
	cr_level = 20;
	cr_what_stat_adjust 0 = 26;
	cr_amount_stat_adjust 0 = 5;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1544;
	cr_attack_1 = 7;
	cr_ap_bonus = 0;
	cr_immunities 4 = 100;
	cr_summon_class = 7;
	cr_special_abil = 1;

begindefinecreature 53;
	import = 31;
	cr_name = "Vengeful Shade";
	cr_level = 20;
	cr_ap_bonus = 2;
	cr_special_abil = 4;
	cr_icon_adjust = 475;
	cr_start_item 0  = 379;
	cr_start_item_chance 0 = 100;

begindefinecreature 54;
	clear;
	cr_name = "Fire Golem";
	cr_level = 21;
	cr_start_item 0 = 315;
	cr_start_item_chance 0 = 10;
	cr_hp_bonus = 17;
	cr_default_attitude = 4;
	cr_species = 11;
	cr_which_sheet = 1645;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 7;
	cr_attack_23_type = 7;
	cr_immunities 0 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 17;

begindefinecreature 55;
	clear;
	cr_name = "Ice Golem";
	cr_level = 21;
	cr_start_item 0 = 314;
	cr_start_item_chance 0 = 10;
	cr_hp_bonus = 18;
	cr_default_attitude = 4;
	cr_species = 11;
	cr_which_sheet = 1646;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 1;
	cr_attack_23_type = 7;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 18;

begindefinecreature 56;
	clear;
	cr_name = "Flame Hydra";
	cr_level = 22;
	cr_start_item 0 = 10;
	cr_start_item_chance 0 = 30;
	cr_start_item 1 = 10;
	cr_start_item_chance 1 = 30;
	cr_start_item 2 = 10;
	cr_start_item_chance 2 = 30;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1601;
	cr_attack_1 = 5;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 2;
	cr_immunities 0 = 100;
	cr_summon_class = 5;
	cr_special_abil = 17;

begindefinecreature 57;
	clear;
	cr_name = "Spawned Fungus";
	cr_level = 22;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_which_sheet = 1606;
	cr_attack_1 = 7;
	cr_attack_1_type = 3;
	cr_ap_bonus = 0;
	cr_immunities 0 = 50;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_summon_class = 7;

begindefinecreature 58;
	clear;
	cr_name = "Rabid bat";
	cr_level = 23;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 6;
	cr_hp_bonus = 6;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_natural_armor = 6;
	cr_which_sheet = 1546;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_ap_bonus = 0;
	cr_immunities 1 = 50;
	cr_immunities 4 = 100;
	cr_summon_class = 4;
	cr_special_abil = 6;

begindefinecreature 59;
	clear;
	cr_name = "Mung demon";
	cr_level = 22;
	cr_what_stat_adjust 0 = 26;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 8;
	cr_amount_stat_adjust 1 = 12;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_natural_armor = 10;
	cr_which_sheet = 1549;
	cr_special_abil = 13;
	cr_attack_1 = 7;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 4 = 100;
	cr_icon_adjust = 256;
	cr_start_item 0 = 318;
	cr_start_item_chance 0 = 100;

begindefinecreature 60;
	clear;
	cr_name = "Ice Hydra";
	cr_level = 24;
	cr_start_item 0 = 10;
	cr_start_item_chance 0 = 30;
	cr_start_item 1 = 10;
	cr_start_item_chance 1 = 30;
	cr_start_item 2 = 10;
	cr_start_item_chance 2 = 30;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1602;
	cr_attack_1 = 5;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 2;
	cr_immunities 1 = 100;
	cr_summon_class = 6;
	cr_special_abil = 18;

begindefinecreature 61;
	clear;
	cr_name = "Eye beast";
	cr_level = 24;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 2;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 15;
	cr_what_stat_adjust 2 = 12;
	cr_amount_stat_adjust 2 = 15;
	cr_what_stat_adjust 3 = 26;
	cr_amount_stat_adjust 3 = 8;
	cr_hp_bonus = 11;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_natural_armor = 2;
	cr_which_sheet = 1552;
	cr_attack_1 = 6;
	cr_attack_1_type = 7;
	cr_immunities 2 = 100;
	cr_immunities 4 = 50;

begindefinecreature 62;
	clear;
	cr_name = "Vampire";
	cr_level = 24;
	cr_what_stat_adjust 0 = 26;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 15;
	cr_what_stat_adjust 2 = 25;
	cr_amount_stat_adjust 2 = 12;
	cr_what_stat_adjust 3 = 10;
	cr_amount_stat_adjust 3 = 10;
	cr_special_abil = 23;
	cr_start_item 0 = 40;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 23;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 212;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 314;
	cr_start_item_chance 3 = 25;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_natural_armor = 12;
	cr_which_sheet = 1562;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 4;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_summon_class = 10; //stop summoning yourselves. blast it!
	cr_default_strategy = 1;

begindefinecreature 63;
	clear;
	cr_name = "Drake";
	cr_level = 25;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 15;
	cr_what_stat_adjust 1 = 26;
	cr_amount_stat_adjust 1 = 6;
	cr_what_stat_adjust 2 = 25;
	cr_amount_stat_adjust 2 = 6;
	cr_hp_bonus = 50;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1547;
	cr_attack_1 = 7;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_summon_class = 4;
	cr_special_abil = 17;

begindefinecreature 64;
	clear;
	cr_name = "Demon Golem";
	cr_level = 26;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 15;
	cr_what_stat_adjust 2 = 12;
	cr_amount_stat_adjust 2 = 15;
	cr_what_stat_adjust 3 = 25;
	cr_amount_stat_adjust 3 = 4;
	cr_hp_bonus = 150;
	cr_default_attitude = 4;
	cr_species = 11;
	cr_which_sheet = 1648;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_immunities 2 = 100;
	cr_immunities 4 = 100;

begindefinecreature 65;
	clear;
	cr_name = "Demon";
	cr_level = 25;
	cr_what_stat_adjust 0 = 8;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 15;
	cr_what_stat_adjust 2 = 25;
	cr_amount_stat_adjust 2 = 10;
	cr_what_stat_adjust 3 = 9;
	cr_amount_stat_adjust 3 = 8;
	cr_hp_bonus = 75;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_natural_armor = 8;
	cr_which_sheet = 1549;
	cr_attack_1 = 7;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 0 = 100;
	cr_immunities 1 = 50;
	cr_immunities 2 = 50;
	cr_immunities 4 = 50;
	cr_summon_class = 6;
	cr_start_item 0 = 318;
	cr_start_item_chance 0 = 100;

begindefinecreature 66;
	clear;
	cr_name = "Naga";
	cr_level = 27;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 14;
	cr_what_stat_adjust 1 = 26;
	cr_amount_stat_adjust 1 = 4;
	cr_what_stat_adjust 2 = 25;
	cr_amount_stat_adjust 2 = 12;
	cr_what_stat_adjust 3 = 10;
	cr_amount_stat_adjust 3 = 2;
	cr_start_item 0 = 304;
	cr_start_item_chance 0 = 5;
	cr_start_item 1 = 305;
	cr_start_item_chance 1 = 5;
	cr_start_item 2 = 309;
	cr_start_item_chance 2 = 5;
	cr_start_item 3 = 310;
	cr_start_item_chance 3 = 5;
	cr_start_item 4 = 303;
	cr_start_item_chance 4 = 5;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1608;
	cr_which_sheet_upper = 1609;
	cr_attack_1 = 8;
	cr_attack_1_type = 2;
	cr_immunities 0 = 50;
	cr_immunities 2 = 50;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_summon_class = 8;
	cr_default_strategy = 1;
	cr_hp_bonus = 100;
	cr_natural_armor = 40;

begindefinecreature 67;
	clear;
	cr_name = "Skeletal Warrior";
	cr_level = 27;
	cr_what_stat_adjust 0 = 21;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 22;
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 10;
	cr_amount_stat_adjust 2 = 2;
	cr_start_item 0 = 175;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 71;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 97;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 207;
	cr_start_item_chance 3 = 7;
	cr_start_item 4 = 213;
	cr_start_item_chance 4 = 7;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1535;
	cr_icon_adjust = 2;
	cr_ap_bonus = 2;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 4 = 100;
	cr_summon_class = 8;

begindefinecreature 68;
	clear;
	cr_name = "Efreet";
	cr_level = 28;
	cr_what_stat_adjust 0 = 8;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 9;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 10;
	cr_amount_stat_adjust 2 = 4;
	cr_start_item 0 = 208;
	cr_start_item_chance 0 = 25;
	cr_start_item 1 = 210;
	cr_start_item_chance 1 = 25;
	cr_start_item 2 = 212;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 213;
	cr_start_item_chance 3 = 25;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_natural_armor = 15;
	cr_which_sheet = 1621;
	cr_which_sheet_upper = 1622;
	cr_attack_1 = 8;
	cr_attack_23_type = 4;
	cr_immunities 0 = 100;
	cr_summon_class = 8;
	cr_special_abil = 17;
	cr_hp_bonus = 200;
	cr_natural_armor = 40;
	cr_ap_bonus = 2;

begindefinecreature 69;
	import = 53;
	cr_name = "Fierce Shade";
	cr_level = 28;
	cr_icon_adjust = 908;
	cr_start_item 0  = 380;
	cr_start_item_chance 0 = 100;

begindefinecreature 70;
	clear;
	cr_name = "Mutant Lizard";
	cr_level = 29;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_natural_armor = 10;
	cr_which_sheet = 1542;
	cr_icon_adjust = 18;
	cr_attack_1 = 5;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 2 = 50;
	cr_summon_class = 6;

begindefinecreature 71;
	clear;
	cr_name = "Granite Golem";
	cr_level = 29;
	cr_hp_bonus = 300;
	cr_default_attitude = 4;
	cr_species = 11;
	cr_which_sheet = 1564;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 4;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 4 = 100;
	cr_summon_class = 7;

begindefinecreature 72;
	clear;
	cr_name = "Rakshasa";
	cr_level = 30;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 16;
	cr_what_stat_adjust 1 = 10;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 22;
	cr_amount_stat_adjust 2 = 2;
	cr_what_stat_adjust 3 = 23;
	cr_amount_stat_adjust 3 = 2;
	cr_what_stat_adjust 4 = 26;
	cr_amount_stat_adjust 4 = 2;
	cr_start_item 0 = 40;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 63;
	cr_start_item_chance 1 = 6;
	cr_start_item 2 = 495;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 210;
	cr_start_item_chance 3 = 10;
	cr_start_item 4 = 212;
	cr_start_item_chance 4 = 10;
	cr_start_item 5 = 297;
	cr_start_item_chance 5 = 2;
	cr_start_item 6 = 49;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 133;
	cr_start_item_chance 7 = 100;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_natural_armor = 50;
	cr_which_sheet = 1607;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 50;
	cr_immunities 4 = 50;
	cr_summon_class = 8;
	cr_default_strategy = 1;
	cr_hp_bonus = 100;

begindefinecreature 73;
	clear;
	cr_name = "Dark Wyrm";
	cr_level = 30;
	cr_what_stat_adjust 0 = 8;
	cr_amount_stat_adjust 0 = 3;
	cr_what_stat_adjust 1 = 9;
	cr_amount_stat_adjust 1 = 3;
	cr_what_stat_adjust 2 = 26;
	cr_amount_stat_adjust 2 = 5;
	cr_what_stat_adjust 3 = 1;
	cr_amount_stat_adjust 3 = 6;
	cr_default_attitude = 4;
	cr_species = 5;
	cr_which_sheet = 1639;
	cr_attack_1 = 7;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_1_type = 2;
	cr_attack_23_type = 7;
	cr_immunities 2 = 50;
	cr_immunities 4 = 100;
	cr_summon_class = 9;
	cr_special_abil = 12;
	cr_hp_bonus = 200;
	cr_natural_armor = 50;

begindefinecreature 74;
	clear;
	cr_name = "Alien Beast";
	cr_level = 30;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 3;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1580;
	cr_attack_1 = 8;
	cr_attack_1_type = 2;
	cr_hp_bonus = 100;
	cr_summon_class = 9;

begindefinecreature 75;
	clear;
	cr_name = "Doomguard";
	cr_level = 20;
	cr_what_stat_adjust 0 = 21;
	cr_amount_stat_adjust 0 = 6;
	cr_what_stat_adjust 1 = 20;
	cr_amount_stat_adjust 1 = 6;
	cr_start_item 0 = 123;
	cr_start_item_chance 0 = 50;
	cr_hp_bonus = 200;
	cr_default_attitude = 4;
	cr_species = 11;
	cr_natural_armor = 30;
	cr_which_sheet = 1597;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_immunities 0 = 90;
	cr_immunities 1 = 90;
	cr_immunities 2 = 90;
	cr_immunities 4 = 90;
	cr_special_abil = 29;
//end of main sequence monsters

//special purpose monsters	
begindefinecreature 93;
	clear;
	cr_name = "Gazer";
	cr_level = 22;
	cr_what_stat_adjust 0 = 26;
	cr_amount_stat_adjust 0 = 5;
	cr_hp_bonus = 13;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_natural_armor = 0;
	cr_which_sheet = 1552;
	cr_icon_adjust = 512;
	cr_attack_1 = 8;
	cr_attack_1_type = 7;
	cr_ap_bonus = 0;
	cr_immunities 2 = 100;
	cr_immunities 4 = 50;
	cr_special_abil = 13;

//copy shades
begindefinecreature 120;
	import = 11;
	
begindefinecreature 121;
	import = 31;
	
begindefinecreature 122;
	import = 53;

begindefinecreature 139;
	clear;
	cr_name = "Hraithe";
	cr_level = 20;
	cr_what_stat_adjust 0 = 25;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 11;
	cr_start_item 0 = 385;
	cr_start_item_chance 0 = 45;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1583;
	cr_attack_2 = 5;
	cr_attack_3 = 5;
	cr_attack_23_type = 1;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_default_strategy = 1;

begindefinecreature 169;
	clear;
	cr_name = "Null Bug";
	cr_level = 10;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_natural_armor = 8;
	cr_which_sheet = 1598;
	cr_icon_adjust = 2;
	cr_attack_1 = 6;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 100;
	cr_special_abil = 28;
	
begindefinecreature 177;
	import = 69;
	
begindefinecreature 195;
	clear;
	cr_name = "Amber Slime";
	cr_level = 1;
	cr_default_attitude = 4;
	cr_species = 10;
	cr_which_sheet = 1630;
	cr_attack_1 = 6;
	cr_attack_1_type = 3;
	cr_immunities 4 = 100;
	cr_special_abil = 4;

begindefinecreature 234;
	clear;
	cr_name = "Ghoul";
	cr_level = 5;
	cr_special_abil = 4;
	cr_start_item 0 = 207;
	cr_start_item_chance 0 = 2;
	cr_hp_bonus = 4;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_natural_armor = 5;
	cr_which_sheet = 1537;
	cr_attack_1 = 5;
	cr_attack_2 = 3;
	cr_attack_3 = 3;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;
	cr_summon_class = 2;

begindefinecreature 235;
	clear;
	cr_name = "Roamer";
	cr_level = 7;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 501;
	cr_attack_1 = 5;
	cr_attack_1_type = 2;
	cr_immunities 4 = 100;
	cr_summon_class = 3;
	cr_what_stat_adjust 0 = 23;
	cr_amount_stat_adjust 0 = 4;

begindefinecreature 236;
	clear;
	cr_name = "Gnoll";
	cr_level = 12;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 502;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_start_item 0 = 494;
	cr_start_item_chance 0 = 100;

begindefinecreature 237;
	clear;
	cr_name = "Observer";
	cr_default_attitude = 4;
	cr_species = 12;
	cr_level = 15;
	cr_which_sheet = 503;
	cr_attack_1 = 4;
	cr_attack_1_type = 8;
	cr_special_abil = 14;
	cr_what_stat_adjust 0 = 1;
	cr_amount_stat_adjust 0 = 4;
	cr_hp_bonus = -40;

begindefinecreature 238;
	clear;
	cr_name = "Phase Spider";
	cr_default_script = "phasespider";
	cr_which_sheet = 1568;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_summon_class = 8;
	cr_attack_1 = 6;
	cr_attack_1_type = 0;
	cr_level = 14;
	cr_special_abil = 24;

begindefinecreature 239;
	clear;
	cr_name = "Harpy";
	cr_default_attitude = 4;
	cr_species = 1;
	cr_which_sheet = 504;
	cr_attack_1 = 7;
	cr_attack_1_type = 1;
	cr_special_abil = 8;
	cr_what_stat_adjust 0 = 1;
	cr_amount_stat_adjust 0 = 4;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 3;
	cr_level = 20;

begindefinecreature 240;
	cr_species = 6;
	cr_which_sheet = 1625;
	cr_name = "Doom Chicken";
	cr_level = 20;
	cr_default_script = "chicken";
	cr_default_attitude = 4;
	cr_attack_1 = 8;
	cr_icon_adjust = 99;
	cr_immunities 3 = 100;
	cr_default_courage = 100;
	cr_default_aggression = 100;
	cr_hp_bonus = 60;
	cr_summon_class = 10;
	cr_what_stat_adjust 0 = 1;
	cr_amount_stat_adjust 0 = 1;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 1;
	cr_what_stat_adjust 1 = 2;
	cr_amount_stat_adjust 1 = 10;
	cr_special_abil = 29;

begindefinecreature 255;
	import = 87;
begindefinecreature 87;
	cr_summon_class = -1;

//defensive equipment
begindefineitem 13;
	clear;
	it_name = "Pants";
	it_full_name = "Pants of Sorrow";
	it_variety = 11;
	it_protection = -4;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_value = 0;
	it_weight = 40;
	it_magic = 1;
	it_cursed = 1;

begindefineitem 14;
	clear;
	it_name = "Sandals";
	it_full_name = "Cursed Sandals";
	it_variety = 16;
	it_bonus = -2;
	it_protection = 1;
	it_floor_which_sheet = 1007;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 0;
	it_weight = 20;
	it_cursed = 1;

begindefineitem 15;
	clear;
	it_name = "Cloak";
	it_full_name = "Cursed Cloak";
	it_variety = 17;
	it_bonus = -2;
	it_protection = 1;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 5;
	it_weight = 50;
	it_cursed = 1;

begindefineitem 16;
	clear;
	it_name = "Boots";
	it_full_name = "Cursed Boots";
	it_variety = 16;
	it_bonus = -2;
	it_protection = 2;
	it_floor_which_sheet = 1007;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 5;
	it_weight = 40;
	it_cursed = 1;

begindefineitem 17;
	clear;
	it_name = "Leather Helmet";
	it_full_name = "Cursed Leather Helmet";
	it_variety = 14;
	it_bonus = -2;
	it_protection = 2;
	it_floor_which_sheet = 1008;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 5;
	it_weight = 40;
	it_cursed = 1;
	it_magic = 0;

begindefineitem 18;
	clear;
	it_name = "Metal Helmet";
	it_full_name = "Cursed Bronze Helmet";
	it_variety = 14;
	it_bonus = -2;
	it_protection = 4;
	it_encumbrance = 1;
	it_floor_which_sheet = 1008;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 5;
	it_weight = 70;
	it_cursed = 1;

begindefineitem 19;
	import = 17;
	it_full_name = "Poor Leather Helmet";
	it_bonus = -1;
	it_value = 8;
	it_cursed = 0;

begindefineitem 20;
	clear;
	it_name = "Buckler";
	it_full_name = "Cursed Buckler";
	it_variety = 12;
	it_bonus = -2;
	it_protection = 4;
	it_floor_which_sheet = 1007;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 5;
	it_weight = 50;
	it_cursed = 1;

begindefineitem 21;
	clear;
	it_name = "Large Shield";
	it_full_name = "Cursed Large Shield";
	it_variety = 12;
	it_bonus = -4;
	it_protection = 8;
	it_encumbrance = 2;
	it_floor_which_sheet = 1008;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 15;
	it_weight = 180;
	it_cursed = 1;

begindefineitem 22;
	import = 14;
	it_full_name = "Sandals";
	it_protection = 1;
	it_value = 8;
	it_cursed = 0;
	it_bonus = 0;

begindefineitem 23;
	clear;
	it_full_name = "Cloak";
	it_variety = 17;
	it_protection = 1;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 7;
	it_weight = 50;
	it_identified = 1;

begindefineitem 24;
	it_full_name = "Pants";
	it_variety = 11;
	it_protection = 1;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_value = 4;
	it_weight = 40;

begindefineitem 25;
	clear;
	it_variety = 16;
	it_full_name = "Dancing Shoes";
	it_ability_1 = 50;
	it_ability_str_1 = -2;
	it_ability_2 = 52;
	it_ability_str_2 = -2;
	it_magic = 1;
	it_cursed = 1;
	it_bonus = 0;
	it_protection = 2;
	it_value = 15;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_weight = 20;

begindefineitem 26;
	import = 16;
	it_full_name = "Boots";
	it_bonus = 0;
	it_value = 15;
	it_cursed = 0;

begindefineitem 27; 
	it_full_name = "Boots of Apollo";
	it_ability_1 = 24;
	it_ability_str_1 = 1;
	it_ability_2 = 30;
	it_ability_str_2 = 1;
	it_value = 2500;
	it_magic = 1;

begindefineitem 28;
	clear;
	it_name = "Shirt";
	it_full_name = "Shirt";
	it_variety = 13;
	it_protection = 2;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 5;
	it_weight = 20;
	it_identified = 1;

begindefineitem 29;
	import = 26; 
	it_full_name = "Slippers of Speed";
	it_ability_1 = 61;
	it_ability_str_1 = 1;
	it_value = 3000;
	it_magic = 1;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;

begindefineitem 30;
	import = 19;
	it_full_name = "Leather Helmet";
	it_bonus = 0;
	it_value = 15;

begindefineitem 31;
	clear;
	it_name = "Bracer";
	it_full_name = "Leather Bracer";
	it_variety = 20;
	it_floor_which_sheet = 1048;
	it_floor_which_icon = 3;
	it_inventory_icon = 2;
	it_value = 15;
	it_weight = 10;
	it_bonus = 0;
	it_protection = 2;

begindefineitem 32;
	clear;
	it_name = "Small Shield";
	it_full_name = "Cursed Small Shield";
	it_variety = 12;
	it_bonus = -2;
	it_protection = 6;
	it_encumbrance = 1;
	it_floor_which_sheet = 1007;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_value = 10;
	it_weight = 100;
	it_cursed = 1;

begindefineitem 33;
	clear;
	it_full_name = "White Tunic";
	it_variety = 13;
	it_protection = 2;
	it_floor_which_sheet = 1001;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 5;
	it_weight = 20;
	it_identified = 1;
begindefineitem 34;
	it_full_name = "Red Tunic";
	it_floor_which_sheet = 1001;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 5;
	it_weight = 20;
begindefineitem 35;
	it_full_name = "Green Tunic";
	it_floor_which_sheet = 1001;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_value = 5;
	it_weight = 20;

begindefineitem 36;
	clear;
	it_name = "Studded Armor";
	it_full_name = "Cursed Studded Armor";
	it_variety = 13;
	it_bonus = -3;
	it_protection = 8;
	it_encumbrance = 3;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 10;
	it_weight = 300;
	it_cursed = 1;

begindefineitem 37;
	import = 18;
	it_bonus = 0;
	it_cursed = 0;
	it_full_name = "Helm of Speed";
	it_protection = 3;
	it_ability_1 = 61;
	it_ability_str_1 = 1;
	it_value = 2500;
	it_magic = 1;

begindefineitem 38;
	clear;
	it_name = "Pants";
	it_full_name = "Pants of Power";
	it_variety = 11;
	it_protection = 3;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 54;
	it_ability_str_1 = 1;
	it_value = 400;
	it_weight = 40;
	it_magic = 1;

begindefineitem 39;
	import = 33;
	it_full_name = "Dress";
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 7;
	it_weight = 60;

begindefineitem 40;
	import = 28;
	it_name = "Robe";
	it_full_name = "Robe";
	it_variety = 13;
	it_protection = 3;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 10;
	it_weight = 70;

begindefineitem 41;
	import = 18;
	it_full_name = "Bronze Helmet";
	it_bonus = 0;
	it_protection = 4;
	it_value = 25;
	it_cursed = 0;

begindefineitem 42;
	import = 30;
	it_full_name = "Fine Leather Helmet";
	it_bonus = 1;
	it_value = 35;

begindefineitem 43;
	import = 18;
	it_full_name = "Runed Helm";
	it_protection = 4;
	it_ability_1 = 57;
	it_ability_str_1 = 2;
	it_value = 700;
	it_magic = 1;
	it_encumbrance = 0;
	it_icon_adjust = 512;

begindefineitem 44;
	clear;
	it_name = "Cloak";
	it_full_name = "Archer's Cloak";
	it_variety = 17;
	it_protection = 4;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_ability_1 = 2;
	it_ability_str_1 = 1;
	it_ability_2 = 52;
	it_ability_str_2 = 3;
	it_ability_3 = 53;
	it_ability_str_3 = 3;
	it_value = 500;
	it_weight = 50;
	it_magic = 1;

begindefineitem 45;
	import = 31;
	it_full_name = "Bronze Bracer";
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_magic = 0;
	it_value = 40;
	it_encumbrance = 1;
	it_bonus = 0;

begindefineitem 46;
	import = 20;
	it_full_name = "Wooden Buckler";
	it_bonus = 0;
	it_value = 10;
	it_weight = 50;
	it_cursed = 0;

begindefineitem 47;
	import = 41;
	it_full_name = "Ruby Helm";
	it_protection = 5;
	it_ability_1 = 55;
	it_ability_str_1 = 2;
	it_value = 700;
	it_magic = 1;
	it_icon_adjust = 128;

begindefineitem 48;
	import = 15;
	it_full_name = "Blessed Cloak";
	it_bonus = 2;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 150;
	it_cursed = 0;
	it_magic = 1;

begindefineitem 49;
	import = 22;
	it_full_name = "Drakeskin Sandals";
	it_bonus = 2;
	it_protection = 2;
	it_value = 80;
	it_magic = 1;

begindefineitem 50;
	import = 30;
	it_full_name = "Wyrmskin Helmet";
	it_bonus = 2;
	it_ability_1 = 59;
	it_ability_str_1 = 1;
	it_value = 100;
	it_magic = 1;

begindefineitem 51;
	import = 41;
	it_full_name = "Emerald Helm";
	it_protection = 6;
	it_ability_1 = 59;
	it_ability_str_1 = 2;
	it_ability_2 = 60;
	it_ability_str_2 = 1;
	it_value = 500;
	it_magic = 1;
	it_icon_adjust = 256;

begindefineitem 52;
	clear;
	it_name = "Cloak";
	it_full_name = "Dragonskin Cloak";
	it_variety = 17;
	it_protection = 6;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_ability_1 = 55;
	it_ability_str_1 = 2;
	it_value = 500;
	it_weight = 50;
	it_magic = 1;

begindefineitem 53;
	import = 46;
	it_full_name = "Iron Buckler";
	it_bonus = 1;
	it_value = 20;
	it_weight = 50;

begindefineitem 54;
	clear;
	it_name = "Leather Armor";
	it_full_name = "Poor Leather Armor";
	it_variety = 13;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_weight = 150;
	it_protection = 6;
	it_encumbrance = 1;
	it_bonus = 0;
	it_value = 20;

begindefineitem 55;
	import = 31;
	it_full_name = "Drakeskin Bracer";
	it_bonus = 2;
	it_protection = 3;
	it_magic = 1;
	it_value = 300;

begindefineitem 56;
	import = 26;
	it_full_name = "Plate Boots";
	it_floor_which_sheet = 1048;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_encumbrance = 1;
	it_protection = 4;
	it_bonus = 2;
	it_value = 100;

begindefineitem 57;
	import = 26;
	it_full_name = "Drakeskin Boots";
	it_bonus = 3;
	it_value = 150;
	it_magic = 1;

begindefineitem 58;
	import = 41;
	it_full_name = "Iron Helmet";
	it_protection = 4;
	it_value = 50;
	it_bonus = 2;

begindefineitem 59;
	import = 45;
	it_full_name = "Iron Bracer";
	it_value = 150;
	it_bonus = 2;

begindefineitem 60;
	import = 32;
	it_full_name = "Wooden Small Shield";
	it_bonus = 0;
	it_protection = 8;
	it_value = 20;
	it_cursed = 0;

begindefineitem 61;
	import = 53;
	it_full_name = "Steel Buckler";
	it_bonus = 2;
	it_value = 50;
	it_weight = 50;

begindefineitem 62;
	import = 54;
	it_full_name = "Leather Armor";
	it_bonus = 2;
	it_protection = 6;
	it_value = 50;

begindefineitem 63;
	import = 40;
	it_full_name = "Blessed Robe";
	it_bonus = 2;
	it_protection = 4;
	it_value = 300;
	it_magic = 1;
	it_cursed = 0;

begindefineitem 64;
	clear;
	it_name = "Robe";
	it_full_name = "Radiant Robe";
	it_variety = 13;
	it_protection = 8;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_ability_1 = 81;
	it_ability_str_1 = 3;
	it_ability_2 = 57;
	it_ability_str_2 = 2;
	it_ability_3 = 60;
	it_ability_str_3 = 2;
	it_value = 500;
	it_weight = 70;
	it_magic = 1;

begindefineitem 65;
	import = 58;
	it_full_name = "Steel Helmet";
	it_bonus = 4;
	it_protection = 4;
	it_value = 150;

begindefineitem 66;
	import = 42;
	it_full_name = "Helm of Alertness";
	it_icon_adjust = 16;
	it_bonus = 4;
	it_ability_1 = 58;
	it_ability_str_1 = 2;
	it_value = 1000;
	it_magic = 1;

begindefineitem 67;
	import = 36;
	it_full_name = "Poor Studded Armor";
	it_bonus = 0;
	it_protection = 10;
	it_encumbrance = 2;
	it_value = 60;
	it_cursed = 0;

begindefineitem 68;
	clear;
	it_name = "Robe";
	it_full_name = "Robe of the Magi";
	it_variety = 13;
	it_protection = 10;
	it_floor_which_sheet = 1040;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_ability_1 = 3;
	it_ability_str_1 = 3;
	it_ability_2 = 26;
	it_ability_str_2 = 3;
	it_ability_3 = 58;
	it_ability_str_3 = 1;
	it_value = 2500;
	it_weight = 70;
	it_magic = 1;

begindefineitem 69;
	import = 65;
	it_full_name = "Blessed Steel Helmet";
	it_bonus = 2;
	it_protection = 6;
	it_value = 400;
	it_magic = 1;

begindefineitem 70;
	import = 60;
	it_full_name = "Iron Small Shield";
	it_bonus = 2;
	it_protection = 8;
	it_value = 40;

begindefineitem 71;
	import = 21;
	it_full_name = "Wooden Large Shield";
	it_bonus = 0;
	it_protection = 12;
	it_value = 50;
	it_cursed = 0;

begindefineitem 72;
	clear;
	it_name = "Chain Mail";
	it_full_name = "Cursed Chain Mail";
	it_variety = 13;
	it_bonus = -4;
	it_protection = 20;
	it_encumbrance = 4;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 10;
	it_weight = 450;
	it_cursed = 1;

begindefineitem 73;
	import = 56;
	it_full_name = "Titanium Boots";
	it_protection = 6;
	it_bonus = 4;
	it_value = 1000;

begindefineitem 74;
	import = 61;
	it_full_name = "Blessed Buckler";
	it_bonus = 4;
	it_protection = 6;
	it_value = 150;
	it_weight = 50;
	it_magic = 1;

begindefineitem 75;
	import = 60;
	it_full_name = "Crystal Shield";
	it_icon_adjust = 1;
	it_bonus = 3;
	it_ability_1 = 84;
	it_ability_str_1 = 10;
	it_value = 750;
	it_magic = 1;

begindefineitem 76;
	import = 70;
	it_full_name = "Iceshield";
	it_icon_adjust = 2;
	it_bonus = 3;
	it_ability_1 = 56;
	it_ability_str_1 = 2;
	it_value = 900;
	it_magic = 1;

begindefineitem 77;
	import = 62;
	it_full_name = "Fine Leather Armor";
	it_bonus = 4;
	it_protection = 6;
	it_value = 100;

begindefineitem 78;
	import = 67;
	it_full_name = "Iron Studded Armor";
	it_bonus = 2;
	it_protection = 10;
	it_value = 150;

begindefineitem 79;
	clear;
	it_name = "Robe";
	it_full_name = "Mithril Woven Robe";
	it_variety = 13;
	it_protection = 14;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_ability_1 = 83;
	it_ability_str_1 = 4;
	it_ability_2 = 84;
	it_ability_str_2 = 1;
	it_ability_3 = 57;
	it_ability_str_3 = 1;
	it_value = 4000;
	it_weight = 70;
	it_identified = 1;

begindefineitem 80;
	import = 59;
	it_full_name = "Blessed Bracer";
	it_value = 600;
	it_protection = 4;
	it_bonus = 6;
	it_magic = 1;

begindefineitem 81;
	import = 70;
	it_full_name = "Steel Small Shield";
	it_bonus = 4;
	it_protection = 8;
	it_value = 100;

begindefineitem 82;
	import = 71;
	it_full_name = "Iron Large Shield";
	it_bonus = 2;
	it_protection = 12;
	it_value = 120;

begindefineitem 83;
	import = 81;
	it_full_name = "Shield of Khar";
	it_icon_adjust = 4;
	it_ability_1 = 1;
	it_ability_str_1 = 1;
	it_bonus = 4;
	it_value = 1000;
	it_magic = 1;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;

begindefineitem 89;
	clear;
	it_name = "Leather Armor";
	it_full_name = "Shadow Leather";
	it_variety = 13;
	it_bonus = 3;
	it_protection = 10;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 2;
	it_ability_str_1 = 1;
	it_ability_2 = 10;
	it_ability_str_2 = 1;
	it_value = 500;
	it_weight = 150;
	it_magic = 1;

begindefineitem 90;
	clear;
	it_name = "Leather Armor";
	it_full_name = "Rogue's Leather";
	it_variety = 13;
	it_bonus = 3;
	it_protection = 10;
	it_encumbrance = 1;
	it_floor_which_sheet = 1003;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 16;
	it_ability_str_1 = 2;
	it_ability_2 = 10;
	it_ability_str_2 = 2;
	it_ability_3 = 11;
	it_ability_str_3 = 1;
	it_value = 700;
	it_weight = 150;
	it_magic = 1;

begindefineitem 91;
	import = 82;
	it_full_name = "Steel Large Shield";
	it_bonus = 4;
	it_protection = 12;
	it_value = 250;

begindefineitem 92;
	it_icon_adjust = 4;
	it_full_name = "Shield of Klud";
	it_ability_1 = 51;
	it_ability_str_1 = 1;
	it_ability_2 = 53;
	it_ability_str_2 = 1;
	it_bonus = 4;
	it_value = 750;
	it_magic = 1;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;

begindefineitem 93;
	import = 71;
	it_full_name = "Shield of Klin";
	it_icon_adjust = 1;
	it_ability_1 = 2;
	it_ability_str_1 = 1;
	it_bonus = 4;
	it_value = 1000;
	it_magic = 1;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;

begindefineitem 94;
	import = 91;
	it_full_name = "Shield of Kron";
	it_icon_adjust = 18;
	it_ability_1 = 82;
	it_ability_str_1 = 1;
	it_bonus = 4;
	it_value = 2500;
	it_magic = 1;

begindefineitem 95;
	import = 71;
	it_full_name = "Martyr's Shield";
	it_icon_adjust = 16;
	it_ability_1 = 87;
	it_ability_str_1 = 20;
	it_bonus = 4;
	it_value = 1500;
	it_magic = 1;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;

begindefineitem 96;
	clear;
	it_name = "Plate Mail";
	it_full_name = "Cursed Plate Mail";
	it_variety = 13;
	it_bonus = -10;
	it_protection = 40;
	it_encumbrance = 5;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 10;
	it_weight = 700;
	it_cursed = 1;

begindefineitem 97;
	import = 72;
	it_full_name = "Poor Chain Mail";
	it_bonus = 0;
	it_protection = 20;
	it_encumbrance = 3;
	it_value = 220;
	it_cursed = 0;

begindefineitem 98;
	import = 78;
	it_full_name = "Steel Studded Armor";
	it_bonus = 5;
	it_protection = 10;
	it_value = 350;

begindefineitem 109;
	import = 81;
	it_full_name = "Blessed Small Shield";
	it_bonus = 6;
	it_protection = 10;
	it_value = 300;
	it_magic = 1;

begindefineitem 110;
	import = 82;
	it_full_name = "Runeshield";
	it_icon_adjust = 17;
	it_encumbrance = 0;
	it_bonus = 6;
	it_ability_1 = 65;
	it_ability_str_1 = 2;
	it_value = 750;
	it_magic = 1;

begindefineitem 111;
	import = 82;
	it_icon_adjust = 2;
	it_full_name = "Lifeshield";
	it_ability_1 = 88;
	it_ability_str_1 = 2;
	it_bonus = 6;
	it_value = 2500;
	it_magic = 1;
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;

begindefineitem 112;
	import = 77;
	it_full_name = "Drakeskin Armor";
	it_bonus = 8;
	it_protection = 8;
	it_value = 400;
	it_magic = 1;

begindefineitem 113;
	import = 97;
	it_full_name = "Iron Chain Mail";
	it_protection = 20;
	it_bonus = 3;
	it_value = 600;

begindefineitem 114;
	clear;
	it_name = "Studded Armor";
	it_full_name = "Mauling Leather";
	it_variety = 13;
	it_bonus = 8;
	it_protection = 10;
	it_encumbrance = 2;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_ability_1 = 51;
	it_ability_str_1 = 3;
	it_value = 2000;
	it_weight = 300;
	it_magic = 1;

begindefineitem 115;
	import = 91;
	it_full_name = "Blessed Large Shield";
	it_bonus = 7;
	it_protection = 16;
	it_value = 750;
	it_magic = 1;

begindefineitem 116;
	import = 98;
	it_full_name = "Blessed Studded Armor";
	it_bonus = 9;
	it_protection = 12;
	it_value = 800;
	it_magic = 1;

begindefineitem 117;
	import = 113;
	it_full_name = "Steel Chain Mail";
	it_bonus = 6;
	it_protection = 20;
	it_value = 1200;

begindefineitem 118;
	clear;
	it_name = "Chain Mail";
	it_full_name = "Icy Chain Mail";
	it_variety = 13;
	it_bonus = 4;
	it_protection = 26;
	it_encumbrance = 4;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_icon_adjust = 512;
	it_ability_1 = 55;
	it_ability_str_1 = 3;
	it_value = 7000;
	it_weight = 450;
	it_magic = 1;

begindefineitem 119;
	import = 117;
	it_full_name = "Mithril Chain Mail";
	it_bonus = 9;
	it_protection = 24;
	it_encumbrance = 2;
	it_value = 3000;
	it_magic = 1;

begindefineitem 120;
	import  = 96;
	it_full_name = "Bronze Plate Mail";
	it_bonus = 0;
	it_protection = 40;
	it_encumbrance = 5;
	it_value = 600;
	it_cursed = 0;

begindefineitem 121;
	it_full_name = "Iron Plate Mail";
	it_bonus = 5;
	it_protection = 40;
	it_value = 1200;

begindefineitem 122;
	clear;
	it_name = "Plate Mail";
	it_full_name = "Polished Plate Mail";
	it_variety = 13;
	it_bonus = 3;
	it_protection = 50;
	it_encumbrance = 5;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_ability_1 = 58;
	it_ability_str_1 = 2;
	it_ability_2 = 62;
	it_ability_str_2 = 2;
	it_ability_3 = 84;
	it_ability_str_3 = 2;
	it_value = 7000;
	it_weight = 700;
	it_identified = 1;
	it_magic = 1;

begindefineitem 123;
	import = 121;
	it_full_name = "Steel Plate Mail";
	it_bonus = 12;
	it_protection = 40;
	it_value = 2000;

begindefineitem 124;
	it_full_name = "Blessed Plate Mail";
	it_bonus = 20;
	it_protection = 48;
	it_encumbrance = 4;
	it_value = 5000;
	it_magic = 1;

//Weapons
begindefineitem 125;
	clear;
	it_name = "Knife";
	it_full_name = "Kitchen Knife";
	it_variety = 1;
	it_damage_per_level = 2;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_value = 4;
	it_weight = 10;
	it_identified = 1;

begindefineitem 126;
	clear;
	it_name = "Dagger";
	it_full_name = "Cursed Dagger";
	it_variety = 1;
	it_damage_per_level = 3;
	it_bonus = -3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 5;
	it_weight = 40;
	it_cursed = 1;

begindefineitem 127;
	clear;
	it_name = "Bow";
	it_full_name = "Cursed Bow";
	it_variety = 6;
	it_damage_per_level = 3;
	it_bonus = -3;
	it_weapon_skill_used = 6;
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 6;
	it_inventory_icon = 5;
	it_value = 5;
	it_weight = 100;
	it_missile_anim_type = 7;
	it_cursed = 1;

begindefineitem 128;
	clear;
	it_name = "Crossbow";
	it_full_name = "Cursed Crossbow";
	it_variety = 22;
	it_damage_per_level = 3;
	it_bonus = -3;
	it_weapon_skill_used = 6;
	it_floor_which_sheet = 1008;
	it_floor_which_icon = 4;
	it_inventory_icon = 3;
	it_value = 5;
	it_weight = 150;
	it_missile_anim_type = 8;
	it_cursed = 1;

begindefineitem 129;
	clear;
	it_name = "Stick";
	it_full_name = "Stick";
	it_variety = 1;
	it_damage_per_level = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 1;
	it_weight = 10;
	it_identified = 1;
	it_junk_item = 1;

begindefineitem 130;
	import = 126;
	it_full_name = "Crude Dagger";
	it_damage_per_level = 3;
	it_bonus = 0;
	it_value = 5;
	it_cursed = 0;

begindefineitem 131;
	clear;
	it_name = "Hammer";
	it_full_name = "Hammer";
	it_variety = 1;
	it_damage_per_level = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 8;
	it_weight = 90;
	it_identified = 1;
	it_junk_item = 1;

begindefineitem 132;
	import = 130;
	it_full_name = "Iron Dagger";
	it_damage_per_level = 3;
	it_bonus = 1;
	it_value = 10;

begindefineitem 133;
	it_full_name = "Steel Dagger";
	it_damage_per_level = 3;
	it_bonus = 2;
	it_value = 30;
	it_floor_which_sheet = 1047;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;

begindefineitem 134;
	it_name = "Short Sword";
	it_full_name = "Cursed Short Sword";
	it_variety = 1;
	it_damage_per_level = 4;
	it_bonus = -3;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 10;
	it_weight = 80;
	it_magic = 0;
	it_cursed = 1;

begindefineitem 135;
	clear;
	it_variety = 5;
	it_bonus = -3;
	it_weapon_skill_used = 7;
	it_name = "Sling";
	it_full_name = "Cursed Sling";
	it_damage_per_level = 4;
	it_charges = 0;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_value = 5;
	it_weight = 20;
	it_missile_anim_type = 2;
	it_cursed = 1;

begindefineitem 136;
	import = 134;
	it_name = "Short Sword";
	it_full_name = "Crude Short Sword";
	it_damage_per_level = 4;
	it_floor_which_sheet = 1046;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_bonus = 0;
	it_value = 20;
	it_cursed = 0;

begindefineitem 137;
	import = 135;
	it_full_name = "Leather Sling";
	it_value = 30;
	it_cursed = 0;
	it_bonus = 0;

begindefineitem 138;
	import = 127;
	it_full_name = "Crude Bow";
	it_damage_per_level = 4;
	it_bonus = 0;
	it_value = 30;
	it_cursed = 0;

begindefineitem 139;
	import = 134;
	it_name = "Longsword";
	it_full_name = "Cursed Longsword";
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_damage_per_level = 5;
	it_bonus = -4;
	it_value = 0;
	it_weight = 120;
	it_magic = 0;
	it_cursed = 1;

begindefineitem 140;
	import = 136;
	it_name = "Short Sword";
	it_full_name = "Iron Short Sword";
	it_damage_per_level = 4;
	it_bonus = 1;
	it_value = 40;

begindefineitem 141;
	import = 138;
	it_full_name = "Ash Bow";
	it_damage_per_level = 4;
	it_bonus = 1;
	it_value = 65;

begindefineitem 142;
	clear;
	it_name = "Spear";
	it_full_name = "Cursed Spear";
	it_variety = 1;
	it_damage_per_level = 5;
	it_weapon_skill_used = 5;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_bonus = -3;
	it_value = 5;
	it_weight = 100;
	it_cursed = 1;

begindefineitem 143;
	import = 140;
	it_name = "Short Sword";
	it_full_name = "Steel Short Sword";
	it_floor_which_icon = 3;
	it_inventory_icon = 2;
	it_damage_per_level = 4;
	it_bonus = 2;
	it_value = 120;

begindefineitem 144;
	import = 141;
	it_full_name = "Yew Bow";
	it_floor_which_sheet = 1047;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_damage_per_level = 4;
	it_bonus = 2;
	it_value = 150;

begindefineitem 145;
	import = 137;
	it_full_name = "Blessed Sling";
	it_value = 1000;
	it_magic = 1;
	it_bonus = 2;
	it_missile_anim_type = 10;

begindefineitem 146;
	import = 133;
	it_full_name = "Blessed Dagger";
	it_damage_per_level = 4;
	it_bonus = 4;
	it_value = 120;
	it_magic = 1;

begindefineitem 147;
	import = 141;
	it_full_name = "Archer's Bow";
	it_icon_adjust = 16;
	it_ability_1 = 52;
	it_ability_str_1 = 3;
	it_ability_1 = 53;
	it_ability_str_1 = 3;
	it_value = 1000;
	it_magic = 1;

begindefineitem 148;
	import = 139;
	it_name = "Greatsword";
	it_full_name = "Cursed Greatsword";
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = -4;
	it_floor_which_sheet = 1046;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_value = 15;
	it_weight = 200;
	it_magic = 0;
	it_cursed = 1;

begindefineitem 149;
	import = 142;
	it_name = "Pike";
	it_full_name = "Cursed Pike";
	it_floor_which_sheet = 1047;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = -4;
	it_value = 10;
	it_weight = 150;
	it_magic = 0;
	it_cursed = 1;

begindefineitem 150;
	import = 139;
	it_name = "Longsword";
	it_full_name = "Bronze Longsword";
	it_damage_per_level = 5;
	it_value = 40;
	it_bonus = 0;
	it_cursed = 0;

begindefineitem 151;
	it_full_name = "Wyrmsbane";
	it_ability_1 = 78;
	it_ability_str_1 = 25;
	it_magic = 1;

begindefineitem 152;
	import = 128;
	it_full_name = "Crude Crossbow";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 70;
	it_cursed = 0;

begindefineitem 153;
	import = 142;
	it_full_name = "Crude Spear";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 15;
	it_cursed = 0;

begindefineitem 154;
	clear;
	it_name = "Staff";
	it_full_name = "Staff";
	it_variety = 2;
	it_damage_per_level = 5;
	it_weapon_skill_used = 5;
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 4;
	it_weight = 70;
	it_identified = 1;

begindefineitem 155;
	clear;
	it_name = "Waveblade";
	it_full_name = "Cursed Waveblade";
	it_variety = 1;
	it_damage_per_level = 6;
	it_bonus = -3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1024;
	it_floor_which_icon = 2;
	it_inventory_icon = 1;
	it_value = 5;
	it_weight = 120;
	it_cursed = 1;

begindefineitem 156;
	import = 150;
	it_name = "Longsword";
	it_full_name = "Iron Longsword";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 80;

begindefineitem 157;
	clear;
	it_name = "Dagger";
	it_full_name = "Ceremonial Dagger";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = 1;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 100;
	it_weight = 10;

begindefineitem 158;
	import = 152;
	it_full_name = "Ash Crossbow";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 150;

begindefineitem 159;
	import = 153;
	it_full_name = "Iron Spear";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 30;

begindefineitem 160;
	import = 156;
	it_name = "Longsword";
	it_full_name = "Steel Longsword";
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 240;

begindefineitem 161;
	import = 158;
	it_full_name = "Yew Crossbow";
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 350;

begindefineitem 162;
	import = 159;
	it_full_name = "Steel Spear";
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 90;

begindefineitem 163;
	import = 144;
	it_full_name = "Blessed Bow";
	it_damage_per_level = 5;
	it_bonus = 3;
	it_value = 500;
	it_magic = 1;

begindefineitem 164;
	import = 149;
	it_name = "Halberd";
	it_full_name = "Cursed Halberd";
	it_floor_which_sheet = 1047;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = -4;
	it_value = 15;
	it_weight = 200;
	it_magic = 0;
	it_cursed = 1;
	it_cursed = 0;

begindefineitem 165;
	clear;
	it_name = "Dagger";
	it_full_name = "Assassin's Dagger";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = 4;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1046;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_ability_1 = 11;
	it_ability_str_1 = 4;
	it_ability_2 = 23;
	it_ability_str_2 = 2;
	it_value = 400;
	it_weight = 40;
	it_magic = 1;

begindefineitem 166;
	import = 143;
	it_name = "Short Sword";
	it_full_name = "Blessed Short Sword";
	it_damage_per_level = 5;
	it_bonus = 4;
	it_value = 500;
	it_magic = 1;

begindefineitem 167;
	import = 155;
	it_full_name = "Waveblade";
	it_weapon_skill_used = 4;
	it_bonus = 0;
	it_value = 100;
	it_cursed = 0;

begindefineitem 168;
	clear;
	it_name = "Dagger";
	it_full_name = "Diamond Dagger";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = 5;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 1000;
	it_weight = 40;
	it_magic = 1;

begindefineitem 169;
	clear;
	it_name = "Spear";
	it_full_name = "Slith Spear";
	it_variety = 1;
	it_damage_per_level = 6;
	it_bonus = 1;
	it_weapon_skill_used = 5;
	it_floor_which_sheet = 1024;
	it_floor_which_icon = 4;
	it_inventory_icon = 3;
	it_value = 70;
	it_weight = 150;

begindefineitem 170;
	import = 149;
	it_full_name = "Crude Pike";
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 40;
	it_cursed = 0;

begindefineitem 171;
	it_full_name = "Iron Pike";
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 80;

begindefineitem 172;
	import = 161;
	it_full_name = "Blessed Crossbow";
	it_damage_per_level = 6;
	it_bonus = 3;
	it_value = 1500;
	it_magic = 1;

begindefineitem 173;
	import = 169;
	it_full_name = "Fine Slith Spear";
	it_bonus = 3;
	it_value = 350;

begindefineitem 174;
	import = 171;
	it_full_name = "Steel Pike";
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 3;
	it_value = 240;

begindefineitem 175;
	import = 148;
	it_name = "Greatsword";
	it_full_name = "Bronze Greatsword";
	it_damage_per_level = 7;
	it_bonus = 0;
	it_value = 160;
	it_cursed = 0;

begindefineitem 176;
	import = 167;
	it_full_name = "Fine Waveblade";
	it_bonus = 4;
	it_weapon_skill_used = 4;
	it_value = 400;

begindefineitem 177;
	import = 160;
	it_name = "Longsword";
	it_full_name = "Blessed Longsword";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_value = 1200;
	it_magic = 1;

begindefineitem 178;
	clear;
	it_name = "Greatsword";
	it_full_name = "Mithril Blade";
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_ability_1 = 50;
	it_ability_str_1 = 1;
	it_ability_2 = 1;
	it_ability_str_2 = 1;
	it_ability_3 = 30;
	it_ability_str_3 = 2;
	it_ability_4 = 74;
	it_ability_str_4 = 10;
	it_value = 5000;
	it_weight = 200;
	it_magic = 1;

begindefineitem 179;
	import = 162;
	it_full_name = "Blessed Spear";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_value = 350;
	it_magic = 1;

begindefineitem 180;
	clear;
	it_name = "Spear";
	it_full_name = "Ghoulbane";
	it_variety = 1;
	it_damage_per_level = 6;
	it_bonus = 4;
	it_weapon_skill_used = 5;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 74;
	it_ability_str_1 = 25;
	it_value = 700;
	it_weight = 100;
	it_magic = 1;

begindefineitem 181;
	clear;
	it_name = "Longsword";
	it_full_name = "Flaming Sword";
	it_variety = 1;
	it_damage_per_level = 6;
	it_bonus = 2;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1047;
	it_floor_which_icon = 3;
	it_inventory_icon = 2;
	it_ability_1 = 70;
	it_ability_str_1 = 8;
	it_value = 1000;
	it_weight = 120;
	it_magic = 1;

begindefineitem 182;
	import = 175;
	it_name = "Greatsword";
	it_full_name = "Iron Greatsword";
	it_damage_per_level = 7;
	it_bonus = 1;
	it_value = 320;

begindefineitem 183;
	import = 164;
	it_full_name = "Bronze Halberd";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 1;
	it_value = 150;
	it_cursed = 0;

begindefineitem 184;
	clear;
	it_name = "Longsword";
	it_full_name = "Icy Longsword";
	it_variety = 1;
	it_damage_per_level = 6;
	it_bonus = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1047;
	it_floor_which_icon = 3;
	it_inventory_icon = 2;
	it_icon_adjust = 1;
	it_ability_1 = 71;
	it_ability_str_1 = 8;
	it_value = 1100;
	it_weight = 120;
	it_magic = 1;

begindefineitem 185;
	import = 182;
	it_name = "Greatsword";
	it_full_name = "Steel Greatsword";
	it_damage_per_level = 7;
	it_bonus = 2;
	it_value = 1000;

begindefineitem 186;
	import = 183;
	it_full_name = "Iron Halberd";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 2;
	it_value = 300;

begindefineitem 187;
	clear;
	it_name = "Greatsword";
	it_full_name = "Demonslayer";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_ability_1 = 75;
	it_ability_str_1 = 40;
	it_value = 6000;
	it_weight = 200;
	it_magic = 1;

begindefineitem 188;
	import = 186;
	it_full_name = "Steel Halberd";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 4;
	it_value = 1000;

begindefineitem 189;
	clear;
	it_name = "Pike";
	it_full_name = "Giantslayer";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 4;
	it_weapon_skill_used = 5;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 76;
	it_ability_str_1 = 30;
	it_value = 1400;
	it_weight = 150;
	it_magic = 1;

begindefineitem 190;
	clear;
	it_name = "Spear";
	it_full_name = "Obsidian Spear";
	it_variety = 1;
	it_damage_per_level = 7;
	it_bonus = 5;
	it_weapon_skill_used = 5;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 57;
	it_ability_str_1 = 4;
	it_value = 1000;
	it_weight = 100;
	it_magic = 1;

begindefineitem 191;
	import = 174;
	it_full_name = "Blessed Pike";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 5;
	it_value = 900;
	it_magic = 1;

begindefineitem 192;
	import = 185;
	it_name = "Greatsword";
	it_full_name = "Blessed Greatsword";
	it_damage_per_level = 8;
	it_bonus = 4;
	it_value = 4000;
	it_magic = 1;

begindefineitem 193;
	clear;
	it_name = "Wavy Sword";
	it_full_name = "Alien Blade";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1024;
	it_floor_which_icon = 2;
	it_inventory_icon = 1;
	it_ability_1 = 72;
	it_ability_str_1 = 20;
	it_value = 6000;
	it_weight = 250;
	it_magic = 1;

begindefineitem 194;
	import = 188;
	it_full_name = "Blessed Halberd";
	it_variety = 2;
	it_damage_per_level = 8;
	it_bonus = 6;
	it_value = 4000;
	it_magic = 1;

begindefineitem 195;
	clear;
	it_name = "Halberd";
	it_full_name = "Jade Halberd";
	it_variety = 2;
	it_damage_per_level = 8;
	it_bonus = 6;
	it_weapon_skill_used = 5;
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 9;
	it_ability_str_1 = 6;
	it_ability_2 = 10;
	it_ability_str_2 = 2;
	it_ability_3 = 71;
	it_ability_str_3 = 40;
	it_value = 4000;
	it_weight = 200;
	it_magic = 1;
	it_icon_adjust = 288;
//end of weapons
	
begindefineitem 288;
	import = 286;
	it_full_name = "Wand of Devastation";
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_icon_adjust = 6;
	it_charges = 3;
	it_ability_1 = 220;
	it_ability_str_1 = 33;
	it_value = 480;

// some gems
begindefineitem 313;
	clear;
	it_full_name = "Amber";
	it_variety = 21;
	it_charges = 1;
	it_floor_which_sheet = 1017;
	it_floor_which_icon = 0;
	it_inventory_icon = 7;
	it_value = 80;
	it_weight = 5;
	it_identified = 1;
begindefineitem 314;
	it_full_name = "Emerald";
	it_floor_which_sheet = 1017;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_value = 200;
begindefineitem 315;
	it_full_name = "Ruby";
	it_floor_which_sheet = 1022;
	it_floor_which_icon = 1;
	it_inventory_icon = 6;
	it_value = 300;

//demon essences
begindefineitem 316;
	clear;
	it_name = "Essence";
	it_full_name = "Demon Essence";
	it_charges = 1;
	it_variety = 7;
	it_identified = 1;
	it_magic = 1;
	it_weight = 0;
	it_value = 100;
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_icon_adjust = 209;
	it_ability_1 = 204;
	it_ability_str_1 = 6;
	it_ability_2 = 200;
	it_ability_str_2 = -2;
	it_ability_3 = 202;
	it_ability_str_3 = -1;
	it_ability_4 = 171;
	it_ability_str_4 = 4;
	
begindefineitem 317;
	it_icon_adjust = 329;
	it_ability_1 = 204;
	it_ability_str_1 = 12;
	it_ability_2 = 200;
	it_ability_str_2 = -3;
	it_ability_3 = 202;
	it_ability_str_3 = -2;
	it_ability_4 = 171;
	it_ability_str_4 = 6;
	
begindefineitem 318;
	it_icon_adjust = 225;
	it_ability_1 = 204;
	it_ability_str_1 = 18;
	it_ability_2 = 200;
	it_ability_str_2 = -4;
	it_ability_3 = 202;
	it_ability_str_3 = -3;
	it_ability_4 = 171;
	it_ability_str_4 = 8;

begindefineitem 372;
	clear;
	it_name = "Medal";
	it_full_name = "Safety Inspector Medal";
	it_variety = 19;
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 0;
	it_inventory_icon = 9;
	it_icon_adjust = 514;
	it_value = 1000;
	it_weight = 1;
	it_magic = 1;
	it_identified = 1;
	it_ability_1 = 16;
	it_ability_str_1 = 6;
	it_ability_2 = 54;
	it_ability_str_2 = 5;

begindefineitem 374;
	it_full_name = "Ghost Buster Medal";
	it_floor_which_icon = 4;
	it_inventory_icon = 3;
	it_icon_adjust = 514;
	it_ability_1 = 13;
	it_ability_str_1 = 2;
	it_ability_2 = 58;
	it_ability_str_2 = 10;

begindefineitem 375;
	it_full_name = "Thirstiness Medal";
	it_floor_which_icon = 8;
	it_inventory_icon = 5;
	it_icon_adjust = 545;
	it_ability_1 = 59;
	it_ability_str_1 = 18;
	it_ability_2 = 86;
	it_ability_str_2 = 3;

begindefineitem 376;
	it_full_name = "Geologist Medal";
	it_floor_which_icon = 2;
	it_inventory_icon = 7;
	it_icon_adjust = 897;
	it_ability_1 = 17;
	it_ability_str_1 = 8;
	it_ability_2 = 25;
	it_ability_str_2 = 2;
	
//shade essences
begindefineitem 377;
	clear;
	it_name = "Essence";
	it_full_name = "Shade Essence";
	it_charges = 1;
	it_variety = 7;
	it_identified = 1;
	it_magic = 1;
	it_weight = 0;
	it_value = 100;
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_icon_adjust = 856;
	it_ability_1 = 204;
	it_ability_str_1 = -1;
	it_ability_2 = 200;
	it_ability_str_2 = 8;
	it_ability_3 = 202;
	it_ability_str_3 = -1;
	
begindefineitem 378;
	it_icon_adjust = 600;
	it_ability_1 = 204;
	it_ability_str_1 = -2;
	it_ability_2 = 200;
	it_ability_str_2 = 16;
	it_ability_3 = 202;
	it_ability_str_3 = -2;
	
begindefineitem 379;
	it_icon_adjust = 624;
	it_ability_1 = 204;
	it_ability_str_1 = -3;
	it_ability_2 = 200;
	it_ability_str_2 = 24;
	it_ability_3 = 202;
	it_ability_str_3 = -3;
	
begindefineitem 380;
	it_icon_adjust = 608;
	it_ability_1 = 204;
	it_ability_str_1 = -4;
	it_ability_2 = 200;
	it_ability_str_2 = 32;
	it_ability_3 = 202;
	it_ability_str_3 = -4;
//end of shade essences

begindefineitem 445;
	clear;
	it_name = "Amulet";
	it_full_name = "Amulet of Yendor";
	it_variety = 19;
	it_value = 30000;
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 2;
	it_inventory_icon = 9;
	it_icon_adjust = 286;
	it_identified = 1;
	it_magic = 1;

//thrown ammo
begindefineitem 446;
	clear;
	it_name = "Rock";
	it_full_name = "Rock";
	it_variety = 5;
	it_damage_per_level = 3;
	it_weapon_skill_used = 7;
	it_charges = 1;
	it_floor_which_sheet = 1007;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 0;
	it_weight = 20;
	it_identified = 1;
	it_junk_item = 1;
	it_missile_anim_type = 2;

begindefineitem 447;
	clear;
	it_name = "Razordisk";
	it_full_name = "Cursed Razordisk";
	it_variety = 5;
	it_damage_per_level = 4;
	it_bonus = -2;
	it_weapon_skill_used = 7;
	it_charges = 6;
	it_floor_which_sheet = 1025;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_value = 2;
	it_weight = 10;
	it_missile_anim_type = 9;
	it_cursed = 1;

begindefineitem 448;
	clear;
	it_name = "Javelin";
	it_full_name = "Cursed Javelin";
	it_variety = 5;
	it_damage_per_level = 5;
	it_bonus = -3;
	it_weapon_skill_used = 7;
	it_charges = 3;
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_value = 5;
	it_weight = 20;
	it_missile_anim_type = 0;
	it_cursed = 1;

begindefineitem 449;
	import = 447;
	it_full_name = "Razordisk";
	it_bonus = 2;
	it_charges = 6;
	it_value = 12;
	it_cursed = 0;

begindefineitem 450;
	it_full_name = "Fine Razordisk";
	it_bonus = 4;
	it_charges = 4;
	it_value = 40;

begindefineitem 451;
	it_full_name = "Fine Razordisk";
	it_bonus = 4;
	it_charges = 4;
	it_value = 40;

begindefineitem 452;
	import = 448;
	it_full_name = "Crude Javelin";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 3;
	it_cursed = 0;

begindefineitem 453;
	it_full_name = "Iron Javelin";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 6;

begindefineitem 454;
	it_full_name = "Steel Javelin";
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 15;

begindefineitem 455;
	it_full_name = "Blessed Javelin";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_value = 60;
	it_magic = 1;

begindefineitem 456;
	clear;
	it_name = "Rock";
	it_full_name = "Rough Diamond";
	it_variety = 5;
	it_damage_per_level = 8;
	it_weapon_skill_used = 7;
	it_charges = 1;
	it_floor_which_sheet = 1007;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 400;
	it_weight = 5;

//bow ammo
begindefineitem 457;
	clear;
	it_name = "Arrows";
	it_full_name = "Cursed Arrows";
	it_variety = 23;
	it_bonus = -3;
	it_charges = 10;
	it_floor_which_sheet = 1024;
	it_floor_which_icon = 0;
	it_inventory_icon = 9;
	it_value = 1;
	it_weight = 4;
	it_cursed = 1;
begindefineitem 458;
	it_full_name = "Crude Arrows";
	it_value = 1;
	it_bonus = 0;
	it_cursed = 0;
begindefineitem 459;
	it_full_name = "Iron Arrows";
	it_bonus = 1;
	it_value = 2;
begindefineitem 460;
	it_full_name = "Steel Arrows";
	it_bonus = 2;
	it_value = 5;
begindefineitem 461;
	it_full_name = "Blessed Arrows";
	it_bonus = 4;
	it_value = 20;
	it_magic = 1;

begindefineitem 462;
	import = 461;
	it_full_name = "Acid Arrows";
	it_ability_1 = 71;
	it_ability_str_1 = 8;
	it_value = 200;	
begindefineitem 463;
	import = 461;
	it_full_name = "Arrows of Light";
	it_ability_1 = 75;
	it_ability_str_1 = 40;
	it_value = 20;

begindefineitem 464;
	clear;
	it_name = "Bolts";
	it_full_name = "Cursed Bolts";
	it_variety = 24;
	it_bonus = -3;
	it_charges = 10;
	it_floor_which_sheet = 1014;
	it_floor_which_icon = 0;
	it_inventory_icon = 9;
	it_value = 1;
	it_weight = 4;
	it_cursed = 1;
begindefineitem 465;
	it_full_name = "Crude Bolts";
	it_value = 2;
	it_bonus = 0;
	it_cursed = 0;
begindefineitem 466;
	it_full_name = "Iron Bolts";
	it_bonus = 1;
	it_value = 4;
begindefineitem 467;
	it_full_name = "Steel Bolts";
	it_bonus = 2;
	it_value = 10;
begindefineitem 468;
	it_full_name = "Blessed Bolts";
	it_bonus = 4;
	it_value = 40;
	it_magic = 1;

begindefineitem 469;
	import = 468;
	it_full_name = "Bolts of Life";
	it_charges = 6;
	it_ability_1 = 74;
	it_ability_str_1 = 40;
	it_value = 40;

begindefineitem 470;
	import = 468;
	it_full_name = "Acid Bolts";
	it_bonus = 6;
	it_ability_1 = 71;
	it_ability_str_1 = 12;
	it_value = 200;

begindefineitem 471; //  (:-p)
	it_full_name = "Bar of Silver";
	it_floor_which_sheet = 1017;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 250;
	it_weight = 120;
	
// spell instruction scrolls
begindefineitem 472;
	it_variety = 8;
	it_name = "Spell Scroll";
	it_full_name = "Bolt of Fire Instructions";
	it_weight = 1;
	it_charges = 1;
	it_floor_which_sheet = 1014;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_magic = 1;
	it_ability_1 = 207;
	it_ability_str_1 = 10;
	it_identified = 1;
	
begindefineitem 473;
	it_full_name = "Healing Instructions";
	it_ability_str_1 = 11;
	
begindefineitem 474;
	it_full_name = "Curing Instructions";
	it_ability_str_1 = 12;
	
begindefineitem 475;
	it_full_name = "Call Beast Instructions";
	it_ability_str_1 = 13;
	
begindefineitem 476;
	it_full_name = "War Blessing Instructions";
	it_ability_str_1 = 14;
	
begindefineitem 477;
	it_full_name = "Spray Acid Instructions";
	it_ability_str_1 = 15;
	
begindefineitem 478;
	it_full_name = "Haste Instructions";
	it_ability_str_1 = 16;
	
begindefineitem 479;
	it_full_name = "Repel Spirit Instructions";
	it_ability_str_1 = 17;
	
begindefineitem 480;
	it_full_name = "Slow Instructions";
	it_ability_str_1 = 18;
	
begindefineitem 481;
	it_full_name = "Smite Instructions";
	it_ability_str_1 = 19;
	
begindefineitem 482;
	it_full_name = "Summon Shade Instructions";
	it_ability_str_1 = 20;
	
begindefineitem 483;
	it_full_name = "Ice lances Instructions";
	it_ability_str_1 = 21;
	
begindefineitem 484;
	it_full_name = "Enduring Barrier Instructions";
	it_ability_str_1 = 22;
	
begindefineitem 485;
	it_full_name = "Lightning Spray Instructions";
	it_ability_str_1 = 23;
	
begindefineitem 486;
	it_full_name = "Divine Fire Instructions";
	it_ability_str_1 = 24;
	
begindefineitem 487;
	it_full_name = "Summon Aid Instructions";
	it_ability_str_1 = 25;
	
begindefineitem 488;
	it_full_name = "Fireblast Instructions";
	it_ability_str_1 = 26;
	
begindefineitem 489;
	it_full_name = "Divine Retrib. Instructions";
	it_ability_str_1 = 27;
	
begindefineitem 490;
	it_full_name = "Arcane Blow Instructions";
	it_ability_str_1 = 28;
	
begindefineitem 491;
	it_full_name = "Divine Restor. Instructions";
	it_ability_str_1 = 29;
	
begindefineitem 492;
	it_full_name = "Arcane Shield Instructions";
	it_ability_str_1 = 30;
//end of teaching scrolls

//assorted	
begindefineitem 493;
	it_identified = 1;
	it_full_name = "Identification Scroll";
	it_ability_str_1 = 31;

begindefineitem 494;
	clear;
	it_name = "Club";
	it_full_name = "Gnoll club";
	it_variety = 2;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_icon_adjust = 31;
	it_damage_per_level = 5;
	it_weight = 180;
	it_encumbrance = 1;
	it_bonus = 1;
	it_value = 80;
	
begindefineitem 495;
	import = 220;
	it_full_name = "Energizing Potion";
	it_floor_which_sheet = 1043;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_icon_adjust = 18;
	it_ability_1 = 200;
	it_ability_str_1 = 4;
	it_ability_2 = 202;
	it_ability_str_2 = 5;
	it_ability_3 = 204;
	it_ability_str_3 = 4;
	it_value = 60;
	
begindefineitem 496;
	clear;
	it_variety = 21;
	it_name = "Crystal";
	it_full_name = "Shiny crystal";
	it_weight = 1;
	it_charges = 1;
	it_floor_which_sheet = 1042;
	it_floor_which_icon = 5;
	it_inventory_icon = 2;
	it_magic = 1;
	it_ability_1 = 207;
	it_ability_str_1 = 32;
	it_identified = 1;